package org.genntii.warehousesystem.domain.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "仓库实体")
public class WarehouseDTO {
    @Schema(description = "仓库名",type = "String",required = true)
    private String name;
    @Schema(description = "城市id",type = "int",required = true)
    private int cityId;
    @Schema(description = "详细地址",type = "String",required = true)
    private String address;
    @Schema(description = "邮政编码",type = "String",required = true)
    private String postCode;
    @Schema(description = "联系电话",type = "String",required = true)
    private String phone;
    @Schema(description = "状态",type = "int",required = true)
    private int status;
}
